<?php
include 'configs/config.php';

//unset($_SESSION['logado']);

$smarty->assign('dados',$agenda->select());
$smarty->assign('mid','index.tpl');
$smarty->display('layout.tpl');
?>